// pages/map/components/navigation-bar/navigation-bar.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    mTitle:{
      type:String,
      default:''
    },
    mUrl:{
      type:String,
      default:'/'
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    homePath:'/pages/map/driverServer/driverServer',
    openType:"navigate"
  },

  ready(){
    if(this.data.mUrl===this.data.homePath){
      this.setData({
        openType:"switchTab"
      })
    }
  },

  /**
   * 组件的方法列表
   */
  methods: {
  }
})
